package com.ruoyi.web.controller.sso.zhgx.oauth2.model;


import com.fasterxml.jackson.databind.JsonNode;

/**
 * 机构对象
 *
 * @Author: lvjix
 * @Copyright: 亿云信息
 * @Date: 2025-02-24 09:54:9:54
 */
public class OupDept {

    /**
     * 机构id
     */
    private String id;

    /**
     * 机构名称
     */
    private String deptName;

    /**
     * 父机构id
     */
    private String parentId;

    /**
     * 父机构名称
     */
    private String parentName;

    /**
     * 父机构id路径
     */
    private String parentIdPath;

    /**
     * 父机构名称路径
     */
    private String parentNamePath;

    /**
     * 机构层级
     */
    private int level;

    /**
     * 机构状态0：正常；1：停用
     */
    private String status;

    /**
     * 是否叶子节点0：不是；1：是
     */
    private String isLeaf;

    /**
     * 自定义字段
     */
    private JsonNode customizeField;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    public String getParentIdPath() {
        return parentIdPath;
    }

    public void setParentIdPath(String parentIdPath) {
        this.parentIdPath = parentIdPath;
    }

    public String getParentNamePath() {
        return parentNamePath;
    }

    public void setParentNamePath(String parentNamePath) {
        this.parentNamePath = parentNamePath;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getIsLeaf() {
        return isLeaf;
    }

    public void setIsLeaf(String isLeaf) {
        this.isLeaf = isLeaf;
    }

    public JsonNode getCustomizeField() {
        return customizeField;
    }

    public void setCustomizeField(JsonNode customizeField) {
        this.customizeField = customizeField;
    }
}
